import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = '/jeecg-fz'
//劝阻概览
const getOverview = params => getAction(`${serviceName}/analysis/dissuade/getOverview`, params)
//占比概况 - 劝阻状态占比
const getDissuadeStateProportion = params =>
  getAction(`${serviceName}/analysis/dissuade/getDissuadeStateProportion`, params)
//占比概况 - 预警屏蔽占比
const getWarningShieldProportion = params =>
  getAction(`${serviceName}/analysis/dissuade/getWarningShieldProportion`, params)
//占比概况 - 处置方式占比
const getDisposalProportion = params => getAction(`${serviceName}/analysis/dissuade/getDisposalProportion`, params)
//占比概况 - 反馈情况占比
const getFeedbackProportion = params => getAction(`${serviceName}/analysis/dissuade/getFeedbackProportion`, params)
//占比概况 - 未接原因占比
const getMissedCallProportion = params => getAction(`${serviceName}/analysis/dissuade/getMissedCallProportion`, params)
//占比概况 - 未接原因占比
const getReceivedCallProportion = params =>
  getAction(`${serviceName}/analysis/dissuade/getReceivedCallProportion`, params)
//趋势概况 - 反馈情况趋势
const getFeedbackTrend = params => getAction(`${serviceName}/analysis/dissuade/getFeedbackTrend`, params)
//趋势概况 - 劝阻状态趋势
const getDissuadeStateTrend = params => getAction(`${serviceName}/analysis/dissuade/getDissuadeStateTrend`, params)
//趋势概况 - 处置方式趋势
const getDisposalTrend = params => getAction(`${serviceName}/analysis/dissuade/getDisposalTrend`, params)
//趋势概况 - 未接原因趋势
const getMissedCallTrend = params => getAction(`${serviceName}/analysis/dissuade/getMissedCallTrend`, params)
//趋势概况 - 已接情况趋势
const getReceivedCallTrend = params => getAction(`${serviceName}/analysis/dissuade/getReceivedCallTrend`, params)
//趋势概况 - 预警屏蔽趋势
const getWarningShieldTrend = params => getAction(`${serviceName}/analysis/dissuade/getWarningShieldTrend`, params)
//趋势概况 -  回访次数趋势
const getReturnVisitsTrend = params => getAction(`${serviceName}/analysis/dissuade/getReturnVisitsTrend`, params)
//趋势概况 - 止损金额概况趋势
const getStopLossAmountTrend = params => getAction(`${serviceName}/analysis/dissuade/getStopLossAmountTrend`, params)
//趋势概况 - 人工核验归属地概况趋势
const getManualVerifyAttributionTrend = params =>
  getAction(`${serviceName}/analysis/dissuade/getManualVerifyAttributionTrend`, params)
//趋势概况 - 反馈验证概况趋势
const getFeedbackVerifyTrend = params => getAction(`${serviceName}/analysis/dissuade/getFeedbackVerifyTrend`, params)
//案件-统计查询
const caseReport = params => getAction(`${serviceName}/the_case/fz_theReport/caseReport`, params)
export {
  getOverview,
  getDissuadeStateProportion,
  getWarningShieldProportion,
  getDisposalProportion,
  getFeedbackProportion,
  getMissedCallProportion,
  getReceivedCallProportion,
  getFeedbackTrend,
  getDissuadeStateTrend,
  getDisposalTrend,
  getMissedCallTrend,
  getReceivedCallTrend,
  getWarningShieldTrend,
  getReturnVisitsTrend,
  getStopLossAmountTrend,
  getManualVerifyAttributionTrend,
  getFeedbackVerifyTrend,
  caseReport
}
